package com.example.jiaju.Login;

import androidx.room.Dao;
import androidx.room.Delete;
import androidx.room.Insert;
import androidx.room.Query;
import androidx.room.Update;

import java.util.List;

@Dao
public interface LoginDao {
    @Insert
    void insertLogin(Login user);
    @Delete
    void deleteLogin(Login user);
    @Update
    void updateLogin(Login user);
    @Query("select * from Login ")
    List<Login> findAllLogin();

}
